package com.devtools.project.tool.datasource.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.Date;
import java.util.List;

/**
 * 数据源表 tool_datasource
 *
 * @author devtools
 * @date 2022-11-28
 */
@Data
public class DataTable {
    private static final long serialVersionUID = 1L;

    /**
     * 表明
     */
    private String tableName;
    /**
     * 备注
     */
    private String tableComment;
    /**
     * 库名
     */
    private String tableSchema;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime createTime;
    /**
     * 字段集合
     */
    private List<DataTableColumn> columnList;
}
